package test.test6_18;

public class Demo10 {
    public static void main(String[] args) {
        System.out.println(maxValue(1,3));
        System.out.println("-----------------");
        System.out.println(equalValue(1,3));

    }

    public static int maxValue(int a, int b) {
        int maxValue = (a > b) ? a : b;
        return maxValue;
    }

    public static boolean equalValue(int a, int b) {
        if(a == b) {
            return true;
        }else {
            return false;
        }
    }
}
